View this page in the latest version of Appian. Configure Rules Share Share via LinkedIn Reddit Email Copy Link Print 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. 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. 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: From the Rules page, click CREATE. Enter the rule Name. For example, High-value contract administration. Select the Status. If you need to apply the rule to new clause sets, select Active. Else, select Inactive. Click ADD CONDITION. You can also add a condition group by clicking ADD CONDITION GROUP. Fill in the rule condition details: The first condition checks if the clause set type is solicitation. 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. Select an Operator and Value for the condition you selected. For example, select Equals and Solicitation respectively. 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. Click Add Condition Group to add a condition group to the rule. Select the Clause Data you want to apply as a condition. For example, select Contract Method. Select an Operator and Value for the condition you selected. For example, select Equals and Simplified Acquisition Procedures (SAP) respectively. Click Add Condition to add another condition to the condition group. In the Match field within the condition group 1, select Any Condition (OR). Select the Clause Data you want to apply as a condition. For example, select Contract Method. Select an Operator and Value for the condition you selected. For example, select Equals and Negotiated contract (NEG CONT) respectively. Similarly, add another condition group to check if the contract category is new or an amendment. Similarly, add another condition group to check if the estimated dollar amount is greater than $250,000,000. Click PREVIEW to preview the rule. The preview provides a visual representation of the conditions and condition groups in the rule. Click EDIT to return to edit mode to make any changes. Click NEXT to assign clauses to the rule. Assign the include clauses for the rule To assign the include clauses for the rule: 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. 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. 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: 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. 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. 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: From the Rules page, click CREATE RULES WITH AI. 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." Click GENERATE RULE to create the rule. A message indicating that AI is generating the rule appears. You can continue with other tasks and check again later. Click REFRESH. 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. 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. 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: From the Edit Rule screen, click View AI Generation Summary to view original prompts and the generated rule. 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: From the Rules page, click Vertical Ellipsis icon associated with the rule you want to update and click Edit Rule. For AI-generated rules, you can view the AI generation summary by clicking View AI Generation Summary. 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. 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. 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 Was this page helpful? SHARE FEEDBACK Loading...