SONARJAVA-274 Depreciate the right rule