Non-compliant code examples should violate only one rule

Thank you for pointing this out! I have created a ticket, SONARJAVA-5955, to track the resolution of this issue.