Refactor AST; add Program and Production nodes.  Default to 'run'.
Assign rank of each production in Analyzer.