fix a bug for game rule