Hack to get ast functions working with new parser code (no match objects in actions).
Changes name of static Rule creation function. Adds a static Rule clone function.