now updating input field when rule changes
removed config from view