Added code which displays the widget rules form after widget settings save.