add vars in the leading part of generated code
rename nodes -> rule_nodes
add Node class, change extend->include so that it can be used in generated grammar