

**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). 

# Creating an Amazon WAF Classic rule group
<a name="classic-create-rule-group"></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). 

When you create an Amazon WAF Classic rule group to use with Amazon Firewall Manager, you specify which rules to add to the group.<a name="classic-create-rule-group-procedure"></a>

**To create 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 **Create rule group**.
**Note**  
You can't add rate-based rules to a rule group.

1. If you have already created the rules that you want to add to the rule group, choose **Use existing rules for this rule group **. If you want to create new rules to add to the rule group, choose **Create rules and conditions for this rule group**. 

1. Choose **Next**.

1. If you chose to create rules, follow the steps to create them at [Creating a rule and adding conditions](classic-web-acl-rules-creating.md). 
**Note**  
Use the Amazon WAF Classic console to create your rules. 

   When you've created all the rules you need, go to the next step.

1. Type a rule group name.

1. To add a rule to the rule group, select a rule then choose **Add rule**. 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). 

1. When you are finished adding rules, choose **Create**.

You can test your rule group by adding it to an Amazon WAF WebACL and setting the WebACL action to **Override to Count**. This action overrides any action that you choose for the rules contained in the group, and only counts matching requests. For more information, see [Creating a Web ACL](classic-web-acl-creating.md).