Added GameRules API.

This PR shows the status of a GameRules API.
You are eight here is some kind of inkonsistency.

There should be either returning an gamerule instance object here and gamerule and gamerule instance should be split.

 or a setGameule(gamerzle. Object) is missing here.
And then the getters and setters should be removed from gamerule