Rete based rules engine for node.js