Added GameRules API.

This PR shows the status of a GameRules API.
A valuesOf() method is missing.