In this rule

Historical Rules · 1 October 2012

Rule 205.4d

Official source text from the 1 October 2012 Rules release

Any permanent with the supertype "legendary" is subject to the state-based action for legendary permanents, also called the "legend rule" (see rule 704.5k).

Find this number in the current Rules