rule editor implemented