SONARJAVA-396 Migrate the rule to the strongly typed AST (except the little comments hack part)