Migrate to SonarQube 4.2

Refactor to new rule API.