SONAR-4908 New API to declare coding rules

The extension point RuleDefinitions is not used yet.