Maybe keep it even simpler.

You can use Deflect Arrow to deflect and redirect elemental attacks against you. When you are the target of an attack roll that would deal elemental damage, [insert rules-speak].

Basically, exactly like deflect arrows, but for magic attacks.