Hi all

I have a rule with no-loop activated into a RuleFlowGroup.  Into the  Then part the program ask user to press a key. The flow arrives to a split element and  if you have pressed the bad key, the flow continues executing an action(Sysout("Bad Character")) and then returns to the same RuleFlowGroup, but at this time the rule doesn´t execute. The program enters into a infinite loop.  It doesn´t ask again for a key input and the action element execute again and again becouse the key pressed is in working memory.

The rule:
rule "Letter or Solve"
    ruleflow-group "Decision"
    no-loop
    when   
        rules : GameRules(g : allowedGuesses , s : allowedSolves)
        GuessedWord( guess : guessedWord , l : letters )

    then
        System.out.println("\n WORD:");
        System.out.println(guess + "\n");
       
        System.out.println( "Said Letters: "+ l +"\n");
       
        System.out.println( "*You still have "+ g +" tries to guess a letter and "+ s + " tries to solve the word.\n");
        System.out.println( "Press  \"X\" to exit, \"S\" to solve the word or \"L\" to guess a new Letter");
        br = new BufferedReader( new InputStreamReader( System.in ) );
        i = br.readLine().toUpperCase();    
        modify ( rules ) { decision = i }
end


Thanks,
Kevin