added method annotation for createRuleValidator method