Fixes #3411: display error notification in rule edit form