

**Introducing a new console experience for Amazon WAF**

You can now use the updated experience to access Amazon WAF functionality anywhere in the console. For more details, see [Working with the console](https://docs.amazonaws.cn/waf/latest/developerguide/working-with-console.html). 

# Adding and deleting rules from an Amazon WAF Classic rule group
<a name="classic-rule-group-editing"></a>

**Warning**  
Amazon WAF Classic is is going through a planned end-of-life process. Refer to your Amazon Health dashboard for the milestones and dates specific to your Region.

**Note**  
This is **Amazon WAF Classic** documentation. You should only use this version if you created Amazon WAF resources, like rules and web ACLs, in Amazon WAF prior to November 2019, and you have not migrated them over to the latest version yet. To migrate your web ACLs, see [Migrating your Amazon WAF Classic resources to Amazon WAF](waf-migrating-from-classic.md).  
**For the latest version of Amazon WAF**, see [Amazon WAF](waf-chapter.md). 

You can add or delete rules in an Amazon WAF Classic rule group.

Deleting a rule from the rule group does not delete the rule itself. It only removes the rule from the rule group.<a name="classic-rule-group-editing-procedure"></a>

**To add or delete rules in a rule group (console)**

1. Sign in to the Amazon Web Services Management Console using the Amazon Firewall Manager administrator account that you set up in the prerequisites, and then open the Firewall Manager console at [https://console.aws.amazon.com/wafv2/fms](https://console.aws.amazon.com/wafv2/fms). 
**Note**  
For information about setting up a Firewall Manager administrator account, see [Creating an Amazon Firewall Manager default administrator account](enable-integration.md).

1. In the navigation pane, choose **Switch to Amazon WAF Classic**.

1. In the Amazon WAF Classic navigation pane, choose **Rule groups**.

1. Choose the rule group that you want to edit.
**Note**  
If you don't see the rule group that you want to edit, make sure you have the correct Region selected. For rule groups used to protect Amazon CloudFront distributions, use the **Global (CloudFront)** setting. 

1. Choose **Edit rule group**.

1. To add rules, perform the following steps:

   1. Select a rule, and then choose **Add rule to rule group**. Choose whether to allow, block, or count requests that match the rule's conditions. For more information on the choices, see [How Amazon WAF Classic works](classic-how-aws-waf-works.md). Repeat to add more rules to the rule group. 
**Note**  
You cannot add rate-based rules to rule group.

   1. Choose **Update**.

1. To delete rules, perform the following steps:

   1. Choose the **X** next to the rule to delete. Repeat to delete more rules from the rule group.

   1. Choose **Update**.