More fixes to the rule reproduction system.