SONARJAVA-796 Issue reporting for template rule