Using Grammar Visitors for rules