SONAR-5007 fix deactivation of removed rules