Added support for gamerules.
Adding in other bits for the gamerules.