SONAR-4206 Fix issue when disabling no more used rules