work on Rule edit