SONAR-4518 Improve performance of rule removal during server startup