Fix: Clear RuleFactory caches at the beginning of each round.