SONAR-5007 fix creation of manual rule in Rails code