populateFields(fact, populatedData, f);
populatedData.put(fact.name, f);
this.factHandles.put(fact.name, wm.insert(f));
}
} else if (fx instanceof RetractFact) {
RetractFact f = (RetractFact)fx;
this.workingMemory.retract(this.factHandles.get(f.name));
this.populatedData.remove(f.name);
} else if (fx instanceof ExecutionTrace) {
ExecutionTrace executionTrace = (ExecutionTrace)fx;
//create the listener to trace rules