Rule 5: If the position of the board is a repeat of an earlier position, then the last move was illegal.