Thankfully, this same effect won’t apply to your enchantment destruction spell. The final step of resolving a spell is to put it in its owner’s graveyard, and at the time this happens, Rest in Peace is no longer on the battlefield, so its effect can no longer apply. This means, for example, that if you cast a Ray of Revelation from your hand to destroy Rest in Peace, you’ll be able to flash it back later. (Perhaps to destroy another Rest in Peace.)
Today’s Rules Tip written by Jen Wong