final InternalWorkingMemory workingMemory) {
boolean fire = createActivations(leftTuple, context, workingMemory, false);
// Can be null if no Activation was created, only add it to the agenda if it's not a control rule.
if ( fire && !fireDirect) {
final InternalAgenda agenda = (InternalAgenda) workingMemory.getAgenda();
agenda.addActivation( (AgendaItem) leftTuple.getObject() );
}
}
public boolean createActivations(final LeftTuple tuple,
final PropagationContext context,