added validation of AST in rules test