Make ruleValidator a service + badge repository not a service anymore (why was it a service anyway?)