> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# create_boolean_selection_rule

## Model.create\_boolean\_selection\_rule(name, id=None, include\_rule\_type=True, selection\_rules=\[])

Create a new boolean selection rule.

### Parameters

* name: Name of the rule.
* id: ID of the rule.
* include\_rule\_type: Whether the rule is of include or exclude type.
* selection\_rules: list of tuples of attached rules, operation type, and template parameters.

### Returns

The created boolean selection rule.

### Example

> > model.create\_boolean\_selection\_rule(‘Boolean Rule 1’, include\_rule\_type=True, selection\_rules=\[(rule1, ‘intersect’, False, (0,1)), (rule2, ‘remove’, True, (20, 4))])
