SONAR-4923 Move Rules classes to rule package