periodically applying to data stored in a database that is accessed by an application, in a batch mode a context-based rule, the rule is an invariant specific to the application that is invoked at the application level to identify anomalous data that does not satisfy the rule, the anomalous data includes inconsistent data obtained during migration of data from a first application to a second appli