SONAR-5361 When deleting a custom rule, related active rules should be removed