SONAR-5819 Fix handling of empty highlighting rules