Fifty moves rule

One rule to stop a game from going on forever. It states the game can be declared a draw if no pawn move or capture has been made for 50 consecutive moves.
If a pawn move or capture occurs at anytime during those 50 consecutive moves, the move count restarts from zero.