# Data Rules

**Data Rules** help mask a specific type of data. Use these rules to hide sensitive information such as Credit cards, Emails, and others while keeping its structure the same as the original.

To create a data rule,

* Click **Create a new rule** under **Data Rules**.
* Name the data rule and select the type of masking. To create a custom data rule, select Custom," set the rule pattern, and save.

Here are all the data rules you defined.

* To view, click![](https://reasyapps.com/forum/wp-content/uploads/2022/07/View.png).
* To edit, click![](https://reasyapps.com/forum/wp-content/uploads/2022/07/Edit.png). Modify and update it.
* To delete, click![](https://reasyapps.com/forum/wp-content/uploads/2022/07/Delete-policy.png).
