Fix RuleService