Update game.py

Game.py accepts rules as a function (as long as a string)