Inference engine

Module or program designed to collect information from a database, take that information and apply various rules or locate patterns, and execute an action based off the results.

Also see: AI, Fuzzy Logic