Slightly changed the parser to fix a bug, and the ranking system for enums works