SONAR-3879 Template rules have to be registered after all rules have been registered