Added AST classes Rules (implemented) and Rule (just a stub).