Revert "Sorting escape rules to ensure an apply order."
Revert "Sorting escape rules to ensure an apply order."

This reverts commit 4067b17a5964aa2c7863ff4dd60de1971d79c42d.

RohithKP/secretary,smontoya/secretary