A data quality enhancement system with automatic rule discovery at its core and an emphasis on the integration of the rules and AI technology. The system can automatically analyze and mine the rules in the data, as well as to complete tasks such as data error checking, error correction, entity matching, data enhancement, and data standardization.