final AgendaGroup agendaGroup = new BinaryHeapQueueAgendaGroup( "agendaGroup",
ruleBase );
agenda.addAgendaGroup( agendaGroup );
// create the consequence
final Consequence consequence = new Consequence() {
private static final long serialVersionUID = 510l;
public void evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory) {
// do nothing