SONAR-5007 fix registration of template rules

* update severity of custom rules on template changes
* fix removal of custom rules on removal of templates
SONAR-5007 fix bug related to synchronization of rule parameters

* removal of rule parameter must be propagated to active rules
* addition of rule parameter with default value must be propagated to active rules