add edit rule interface