Please remove all calls to KcServiceLocator and autowire:

KualiRuleService ruleService = KcServiceLocator.getService(KualiRuleService.class);