Unification of SearchReplace and RD