You could manually activate and deactivate ruleflow groups using workingMemory.getAgenda().[de]activateRuleflowGroup(name). workingMemory.getAgenda().[de]activateRuleflowGroup(name). session.fireAllRules(); Source