 ;; have for non-generated rule names, because when we delete a rule or rename it, it's still in
 ;; the REPL and requires a restart or manual ns-unmap to clear. We could expose a function
 ;; that takes all nses in which they are rules and unmaps everything in them.
-(define [?e :todo/visible :tag] :- [[_ :visibility-filter :all
-                                       [[?e :todo/title]]]])
+(define [?e :todo/visible :tag] :- [[_ :visibility-filter :all]] [[?e :todo/title]])
 
 (cr/defrule add-item-handler
   ;; Works with maps

  ;(time
    (dotimes [n iters]
      ;(time
        (reset! session
          (-> @session
            (l/replace-listener)
            ;(util/insert-action [(guid) :add-todo-action-2 {:todo/title "ho"}])
            ;(util/insert-action [(guid) :add-todo-action {:title "hey"}])

            (cr/fire-rules)))))

(time (perf-loop 100))
(l/vec-ops @test-session-atom)
(count (:one-to-one @state/fact-index))
(:unique @state/fact-index)
;(inspect/inspect @session)
