Sets the boolean value of the given gamerule.
the Gamerule object
the gamerule to update
the new boolean value to set