final RuleBase ruleBase = getRuleBase();
ruleBase.addPackage( pkg );
final WorkingMemory workingMemory = ruleBase.newStatefulSession();
final WorkingMemoryEventListener l2 = new DefaultWorkingMemoryEventListener() {
public void objectInserted(ObjectInsertedEvent event) {
System.out.println( event );
}
public void objectRetracted(ObjectRetractedEvent event) {