KnowledgeBase kbase = createKnowledgeBase(createKnowledgeBuilder(drlFile));
ksession = kbase.newStatefulKnowledgeSession();
}
public void execute(int repNr) {
ksession.insert(new A(Integer.MAX_VALUE, Integer.MAX_VALUE, true));
for (int i = 0; i < objectNr; i++) {
ksession.insert(new B(i, 0, i == 0));
}