ClojureScript RETE implementation for frames