Changed setGameRuleValue to use Validate