SONAR-5007 do not limit number of hits returned by ActiveRuleIndex#findBy*()
SONAR-5007 improve medium tests