updated documentaiton on how the basic rule engine works.