Added named rules to pretty much everything. Makes processing and interpreting the AST much nicer.