Abstract: A rules engine that allows constructing and processing rules within a software application using protocol driven processing. A machine learning algorithm may be used to assess requested procedures that are initially rejected. The machine learning algorithm may also be saved periodically or at the time of each assessment and accessed at a later time.