In this rule

Historical Rules · 1 September 2023

Rule 508.7c

Official source text from the 1 September 2023 Rules release

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