Prototype implementation of the RETE algorithm in C++