Updated gamecontroller constructor to take a string arg which specifies the rules to be used.