                  .end() #func-pair
               isFirst = false
           dom.end() #div
-        dom.tag("hr").end()
+        dom.end().end() #td/tr
+      dom.end().end() #tbody/table
       element.innerHTML = ""
       element.appendChild dom.finalize()
 

          
      onStep: (rulesetPhase)->
        if (gc = @spaceship_catcher)
          if (@stable_rule.size() > 1) and not @stable_enabled
            alert "Disabling catcher. Enable stabilization to make it available"
            @disable_spaceship_catcher()
          else

        [("0111"), ("1011"), ("1110"), ("1101")]]

      ruleObj.validate()
      dom.tag("table").CLASS("library-table")
         .tag("thead")
         .tag("tr").tag("th").text("Phase").end().tag("th").text("Diagram").end()
         .end().end()
         .tag("tbody")
        
      for elemRule, i in ruleObj.rules
        dom.tag("tr").tag("td").text(i+1).end().tag("tr")
        rule = elemRule.table
        for row in elements
          dom.tag("div").CLASS("func_row")
