Renamed RuleFactory to JsonRuleFactory