Free cookie consent management tool by TermsFeed

Configure Rules

On This Page
This content applies solely to Government Clause Automation, which must be purchased separately from the Appian base platform. This content was written for Appian 26.3 and may not reflect the interfaces or functionality of other Appian versions.

The Government Clause Automation (GCA) solution enables users create rules that determine which clauses must be included or excluded in a clause set. The automated process offers ease and flexibility while managing the clauses and provisions required for a contract. The AI-powered rule creation in GCA enables users generate rules using natural language instead of manual configuration. The AI-powered rule creation significantly reduces the effort and complexity of rule creation while maintaining accuracy and compliance.

View rules

After you access the Government Clause Automation (GCA) site, click Rules to view the Rules page.

When you select Rules, a list of the existing rules, their status, conditions, included clauses, excluded clauses, and last modified timestamp displays. From the list, you can search for a specific rule or filter the list to identify rules associated with a specific questionnaire, status, or both. You can also export the rules list to an Excel file by clicking Download icon.

List of rules in the Rules page

You can also see if a rule is in Draft status, which indicates the rule is AI-generated and is incomplete due to unmapped or invalid conditions.

List of rules with Draft status in the Rules page

Create a new rule

In Government Clause Automation (GCA), you can configure clause inclusion and exclusion rules to trigger based on the following:

  • Questions and answers from questionnaires.
  • Data provided in the clause set details section of clause set creation.

Use the Create Rule wizard to define the clause rules. When generating a new clause set, set up rules to include specific clauses, exclude specific clauses, or both. The Create Rule wizard enables you to:

  • Define the conditions for the rule.
  • Select the clauses to include or exclude for the rule.

Define the conditions for the rule

Let's consider a scenario where you must include and exclude certain clauses for any new or existing simplified acquisition or negotiated contracts worth more than $250,000,000.

To define the conditions for a new rule:

  1. From the Rules page, click CREATE.
  2. Enter the rule Name. For example, High-value contract administration.
  3. Select the Status.
    • If you need to apply the rule to new clause sets, select Active. Else, select Inactive.
  4. Click ADD CONDITION. You can also add a condition group by clicking ADD CONDITION GROUP.

    Create Rule wizard in GCA

  5. Fill in the rule condition details:

    The first condition checks if the clause set type is solicitation.

    1. Select the Clause Data you want to apply as a condition. The clause data can be a question from a questionnaire or clause set detail, such as clause set type, contract method, contract category, contract type, estimated dollar amount, PSC code, NAICS code, contract specialist, contract start date, or contract end date. For example, select Clause Set Type.
    2. Select an Operator and Value for the condition you selected. For example, select Equals and Solicitation respectively.

      Add a condition to the rule

  6. Fill in the condition group details:

    For the given scenario, The first condition group checks if the contract method is a simplified acquisition or negotiated contract.

    1. Click Add Condition Group to add a condition group to the rule.

      Add Condition Group action in Create Rule wizard

    2. Select the Clause Data you want to apply as a condition. For example, select Contract Method.
    3. Select an Operator and Value for the condition you selected. For example, select Equals and Simplified Acquisition Procedures (SAP) respectively.

      A new condition in the first condition group

    4. Click Add Condition to add another condition to the condition group.

      Add Condition action within the first condition group

    5. In the Match field within the condition group 1, select Any Condition (OR).
    6. Select the Clause Data you want to apply as a condition. For example, select Contract Method.
    7. Select an Operator and Value for the condition you selected. For example, select Equals and Negotiated contract (NEG CONT) respectively.

      A new condition in the second condition group

    8. Similarly, add another condition group to check if the contract category is new or an amendment.

      Conditions within the second condition group

    9. Similarly, add another condition group to check if the estimated dollar amount is greater than $250,000,000.

      Conditions within the third condition group

  7. Click PREVIEW to preview the rule.

    Preview button in the Create Rule wizard

    The preview provides a visual representation of the conditions and condition groups in the rule.

    Rule preview showing visual representation of conditions and condition groups

  8. Click EDIT to return to edit mode to make any changes.

    Edit button in the Create Rule wizard

  9. Click NEXT to assign clauses to the rule.

Assign the include clauses for the rule

To assign the include clauses for the rule:

  1. In the Available Clauses section under Include Clauses, select the clauses you want to attach to the rule using the checkbox. GCA includes these clauses during clause set creation.
    • Search the clause list for a specific clause or filter by clause or provision Type, clause Source, or both.

    Available clauses for inclusion in Create Rule wizard

  2. After selecting the desired clauses, click Chevron Right icon to move them to the Included Clauses section.
    • To remove one or more clauses from Included Clauses, select the clauses you want to remove using the checkbox and click Chevron Left icon.
    • Provision type clauses are included in solicitation type clause sets and automatically excluded in award type clause sets. The clause set type is configured when you create the clause set.

    Selected clauses for inclusion in Create Rule wizard

  3. Click NEXT to assign excluded clauses to the rule.

Assign the exclude clauses for the rule

Excluded clauses do not appear as part of the clause set or suggested as applicable or optional clauses. You can only exclude these clauses if they are not Required clauses based on the FAR matrix. However, excluded clauses can be manually added back when creating a new clause set or through the Add Clause related action.

To assign the exclude clauses for the rule:

  1. In the Available Clauses section under Exclude Clauses, select the clauses you want the rule to exclude using the checkbox.
    • Easily search the clause list for a specific clause or filter the clause list by clause or provision Type, clause Source, or both.
    • You cannot exclude clauses assigned for inclusion or include clauses assigned for exclusion.

    Available clauses for exclusion in Create Rule wizard

  2. After selecting the desired clauses, click Chevron Right icon to move them to the Excluded Clauses section.
    • To remove one or more clauses from Excluded Clauses, select the clauses you want to remove using the checkbox and click Chevron Left icon.

    Selected clauses for exclusion in Create Rule wizard

  3. Click CREATE to create the rule.

Create a rule with AI

In Government Clause Automation (GCA), you can create rules faster by describing your requirements in natural language and letting AI generate the structured rule logic for you.

To create a rule with AI:

  1. From the Rules page, click CREATE RULES WITH AI.

    Create Rules with AI button in Rules page

  2. In the Create Rules with AI screen, enter your rule requirements in plain language or copy and paste the prescription text from regulatory documents in Enter Rule Prompt. For example:
    • "Include cybersecurity clauses when contract value exceeds $10 million and involves IT services."
    • "For solicitation, when the PSC code is 123 and contract type is fixed price."

    AI Rule Builder prompt screen

  3. Click GENERATE RULE to create the rule.

    AI processing the input to generate the rule message with Refresh button

    • A message indicating that AI is generating the rule appears. You can continue with other tasks and check again later.
  4. Click REFRESH.

  5. Review the AI-generated rule:
    • AI displays the structured conditions, operators, and values along with included and excluded clauses.
    • The system highlights conditions using unavailable data with warnings. The system maps the conditions mentioned in the input with the configured clause data and highlights the data that is not available within the list. Along with the list, the system also highlights data with operators and values that are not applicable or valid. If the conditions are available in the questionnaire, you can add them to the rule by editing the rule from the rules grid after saving it as a draft.
    • Under the included and excluded clauses, the system also highlights any mentioned clause that is not found.

    AI-generated rule review screen

  6. You can:
    • Refine input: Click Back to prompt to go back and adjust your prompt to regenerate the rule.
    • Save as Draft: Save incomplete rules to finish later with questionnaire data.
  7. Select the rules from the list, then click CREATE RULES.

Note:  Rules with unmapped or invalid conditions are saved as draft by default.

The system names AI-generated rules according to the rule requirement. If you save a rule as a draft, the input and output remain available for you to track and make subsequent edits.

Note:  Draft rules are not applied during clause set creation until their status is changed to Active.

Understand AI-generated rules

Understanding AI-generated rules enables you to use them effectively to create rules quickly in Government Clause Automation (GCA) solution.

Status tracking

Rules generated using AI can be saved as draft if they require additional updates after review.

Data availability warnings

When AI generates conditions using data not available in your configured clause set:

  • Conditions are highlighted with warning indicators.
  • Rules are saved as draft by default and you can complete the rule later.

System constraints

  • Nesting limit: Rules exceeding three levels of nesting are flagged and blocked from creation.
  • Invalid clauses: If a referenced clause does not exist, the rule is flagged and forced into a draft state.
  • Critical failures: Rules where all conditions are unmapped or invalid cannot be created. You must refine the input prompt.

Edit AI-generated rules

When editing an AI-generated rule:

  1. From the Edit Rule screen, click View AI Generation Summary to view original prompts and the generated rule.

    View AI Generation Summary link in Edit Rule screen

  2. Make manual adjustments as needed.

    • All edits are tracked separately from the AI creation.
    • The audit trail clearly distinguishes AI-generated logic from human modifications.

The audit trail ensures you maintain full visibility into how rules were created and modified over time.

Draft rules

Rules saved as draft:

  • Are not applied during clause set creation.
  • Can be completed later using questionnaire data.
  • Must be changed to active or inactive status to take effect.

Caution:  Changing rule status from Draft to Active or Inactive cannot be rolled back. Ensure the rule is complete before changing its status.

Update an existing rule

You can quickly and easily update rules with Government Clause Automation (GCA). The existing rules with a flat structure are not affected and can be updated later.

To edit an existing rule:

  1. From the Rules page, click Vertical Ellipsis icon associated with the rule you want to update and click Edit Rule.

    Edit option for an existing rule

    • For AI-generated rules, you can view the AI generation summary by clicking View AI Generation Summary.

    View AI Generation Summary link in Edit Rule screen

    The AI Generation Summary shows the input prompt, the generated rule with all conditions including any unmapped or invalid ones highlighted, and included and excluded clauses.

    View AI Generation Summary screen

  2. Follow the rest of the Edit Rule wizard to update the rule name, status, conditions, condition groups, and included or excluded clauses.

    Note: For AI-generated rule, ensure all the conditions are mapped with valid data before changing its status from Draft to Active or Inactive.

  3. When you are finished adding or removing clauses for exclusion to the rule, click SAVE.

All future clause sets use the updated rules. Clause sets that have already been generated or finalized are not affected.

Feedback