RuleService tests implemented