---
title: Adding rule sets
description: Add a new rule set in PingAccess.
component: pingaccess
version: 9.0
page_id: pingaccess:pingaccess_user_interface_reference_guide:pa_adding_rule_sets
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/pingaccess_user_interface_reference_guide/pa_adding_rule_sets.html
revdate: March 28, 2025
section_ids:
  steps: Steps
---

# Adding rule sets

Add a new rule set in PingAccess.

## Steps

1. Click **Access**, then go to **Rules > Rule Sets**.

2. Click **[icon: plus, set=fa]Add Rule Set**.

3. In the **Name** field, enter a name for the rule set.

   Special characters and spaces are allowed.

4. In the **Success Criteria** section, select one of the following options:

   * All

     Requires all rules in the set to succeed.

     |   |                                                                                                                   |
     | - | ----------------------------------------------------------------------------------------------------------------- |
     |   | When **Success Criteria** is set to **All**, the first rule in the set that fails establishes the error handling. |

   * Any

     Requires only one of the rules in the set to succeed.

     |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
     | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
     |   | If there are any processing rules in the rule set, PingAccess flags those rules with a tooltip warning that PingAccess won't process additional rules if the first rule in the set succeeds.This is because when **Success Criteria** is set to **Any** for a rule set, the first processing rule that succeeds causes PingAccess not to evaluate all other rules in the set.If you want to use processing rules on protected applications and handle access control decisions using **Any** criteria, assign processing rules directly to the application or create a separate rule set for the processing rule sets that uses **All** criteria. |

5. Add one or more rules to the rule set you're creating:

   > **Collapse: Details**
   >
   > 1. In the `Available Rules` section, click the **[icon: plus, set=fa]**icon to add the desired group to the **Selected Rules** section.
   >
   >    |   |                                                                                                                                                                                                                                                                                                                                                                                                                               |
   >    | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   >    |   | * To create a new rule, click **[icon: plus, set=fa]Create Rule**. You can find more information in [Rules](pa_rules.html).
   >
   >    * Use the **Search Available Rules** search bar to expedite finding a specific rule.
   >
   >    * You can click and hold to drag a rule directly from the **Available Rules** section to the **Selected Rules** section. This expedites configuring the desired hierarchy of the rule set you're creating. |

6. In the **Selected Rules** section, configure the hierarchy by clicking and holding to drag a specific rule to the desired position in the configuration.

   |   |                                                                                                                              |
   | - | ---------------------------------------------------------------------------------------------------------------------------- |
   |   | * Processing occurs from top to bottom.

   * To remove a rule from the configuration, click the **[icon: minus, set=fa]**icon. |

7. To save the rule set, click **Save**.
