Subtask 3 of #24 Create proper template for replace rule editor and render it