rule5.setAgendaGroup( "group 1" );
rule5.setConsequence( consequence );
builder.addRule( rule5 );
Rule rule6 = new Rule( "rule6" );
rule6.setSalience( new SalienceInteger( 5 ) );
rule6.setAgendaGroup( "group 2" );
rule6.setConsequence( consequence );
builder.addRule( rule6 );
Rule rule7 = new Rule( "rule7" );
rule7.setAgendaGroup( "group 0" );
rule7.setConsequence( consequence );
builder.addRule( rule7 );
Rule rule8 = new Rule( "rule8" );
rule8.setSalience( new SalienceInteger( 10 ) );
rule8.setAgendaGroup( "group 2" );
rule8.setConsequence( consequence );
builder.addRule( rule8 );
builder.order();