for (PathMemory pmem : memory.getSegmentMemory().getPathMemories()) {
if (pmem.getNodeType() == NodeTypeEnums.RuleTerminalNode) {
garbageCollector.add(pmem.getOrCreateRuleAgendaItem(wm));
}
}
garbageCollector.increaseDeleteCounter();
}
}
} else {
stagedDeleteWasEmpty = stagedRightTuples.addDelete(rightTuple);
}