Added GameRule class