SONARPHP-304 Replace the use of deprecated RruleRepository with RuleDefinition.