Code cleanup

Used ASTHelper as a static import in almost every rule.
Reformated the codee a bit.