adding rule to the chess