SONAR-5353 SONAR-5358 Allow to deactivate rule templates if they have been activated previously