Board Thread:Bug Reports/@comment-26030567-20150829131853/@comment-27723099-20150829141844

Look at the wiki article about the command. It says:

They [the gamerules] are no longer in effect in version Public Beta 22.