SONAR-926 Fix ProfileSensor that expect a RulesProfileWrapper