Subtask 4 of #24: Added event listenred in Replace Rule Editor and Saved model