Added some dynamic form stuff to the rules editor