WIP: Implement continuation passing style and error processing for some rules