prototype of new rule editor: show spinner; prevent stupid actions when return is pressed; other small fixes