Defining, in advance, the logic by which two or more records are considered to represent the same event. A rule is essentially a formula plus a tolerance — for example, GL gross amount minus processor fee equals bank deposit, within fifty cents — scoped to an account, date window and entity.