Chris McCann demonstrates Ruleby, a Ruby implementation of a rules engine based on the Rete algorithm.