CLIPS-inspired expert system shell featuring a RETE-based pattern matching algorithm