rule editor: support more than the initial two example sentences
rule editor: use enums
rule editor: cleanup: use enum-style constants
rule editor: put GUI-related status vars in their own namespace; disable submit buttons while request is running
rule editor: support URL; use enums at more places
rule editor: support short message
rule editor: support user in writing the error message