Fix some warnings in GameRulesTest