SONAR-4755 Remove useless code due to removel of rule compliance