add rules class to game