SONARJAVA-305 Update rule according to new specification