Remove some code from MeasuresFilters that is deprecated since 2.5
SONAR-4908 rename the methods newXxx()  of RuleDefinitions to createXxx()