SONAR-926 fix RulesProfile#getLanguage() on single-lang modules
SONAR-926 add javadoc