Rule-based expert system written in Ruby Implemented from Chapter 2 of Artificial Intelligence: A Guide to Intelligent Systems by Michael Negnevitsky.