Mass Update and Delete rules
The tool's rules are the Delete Rules, under Rules, Tool rules, Mass Update / Delete. They decide what happens to an account's related records when the account is deleted, and they are fully configurable. Only admins can save them. A mass update has no rules of its own: what it sets is chosen on the run.
What you can configure #
Delete Rules #

For each kind of related record your CRM has, you choose whether it is deleted with the account or kept, unlinked from it. See Choose what an account delete takes with it.
What each connection starts with #
Each connection starts with what its CRM already does:
Contacts, opportunities and cases are deleted with the account.
Contacts and deals are kept, unlinked from the company. A contact or deal that is also linked to another company is always kept.
How a run uses them #
Every account delete a run proposes follows the rules as they are, and each proposal says what goes with the account and what stays.
Change and undo #
Every saved change is recorded in the change log, with who made it and what it was before, and can be put back from there. See Undo a configuration change.