1. A method for evaluating a game outcome on a gaming machine, the method comprising: receiving during a runtime of a wagering game a game rules script, the game rules script comprising text specifying a set of displayable game elements used in the wagering game, the text further defining one or more rules to determine a set of one or more winning outcomes in terms of one or more of the set of displayable game elements; parsing the games rules script into a game rules data structure; generating a game outcome for display on the gaming machine, the game outcome including selected elements of the set of displayable game elements; and determining if the game outcome matches at least one winning outcome in the set of winning outcomes in accordance with evaluation of the selected elements against the one or more rules provided by the game rules data structure by repeating, until all rules are compared: comparing the selected elements against the one or more rules provided by the game rules data structure; and removing a matching rule from the one or more rules and removing matching elements from the selected elements responsive to matching of the matching elements and the matching rule.
6. The method of claim 1 , wherein each winning outcome in the set of winning outcomes is defined by a set of match rules, and wherein determining if the game outcome matches at least one winning outcome includes determining if each match rule in the set of match rules for a winning outcome matches at least one of the selected elements.