work on editing rules: edit rule dialog that even saves something