added game rules class