In this rule

Historical Rules · 13 October 2023

Rule 508.7c

Official source text from the 13 October 2023 Rules release

Permalink

The reselected player, planeswalker, or battle must be an opponent of the attacking creature’s controller, a planeswalker controlled by an opponent of the attacking creature’s controller, or a battle protected by an opponent of the attacking creature’s controller.

Find this number in the current Rules