In this rule

Historical Rules · 1 October 2009

Rule 204.4d

Official source text from the 1 October 2009 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