In this rule

Historical Rules · 3 May 2019

Rule 704.5j

Official source text from the 3 May 2019 Rules release

Permalink

If a player controls two or more legendary permanents with the same name, that player chooses one of them, and the rest are put into their owners’ graveyards. This is called the “legend rule.”

Find this number in the current Rules