       # Scroll the new rule into view.
       exclusionScrollBox = $("exclusionScrollBox")
       exclusionScrollBox.scrollTop = exclusionScrollBox.scrollHeight
+      @onUpdated()
 
   populateElement: (rules) ->
     for rule in rules

      $("saveOptions").removeAttribute "disabled"
      $("saveOptions").innerHTML = "Save Changes"


    $("saveOptions").addEventListener "click", ->
      Option.saveOptions()
      $("helpText").innerHTML = "Rules saved."

          element.style.display = 'none'
      unless haveMatch
        @addRule()

  # Append a row for a new rule.
  appendRule: (rule) ->
