SONAR-5874 Support deprecated org.sonar.api.rules.RuleRepository when extending rules of org.sonar.api.server.rule.RulesDefinition