No, there is no direct way to change game rules. You can use run_cmd("set gravity <x> <y> <z>") but just like with the /set gravity command you have to start a new game for the changes to take effect.
May be possible with replay hacking in the replay file. and are you an administrator or something in this thread or do you just really help ppl out?