Support the three repetitions rule as well as the 50 move rule.