work on editing rules