---
library: "bootstrap"
slug: "RuleSet"
name: "RuleSet"
ref: "RuleSet#7ebf"
hash: "sema:RuleSet#mh:SHA-256:7ebf36ad0634307d189aa0545d3424f0d0783bf2a0df04dfafdecf64e0cc9146"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/RuleSet"
---

# RuleSet

Immutable collection of constraints

Infrastructure · Data Structures

## Mechanism

A structured collection of [Constraint](https://semahash.org/vocabularies/bootstrap/patterns/Constraint.md)s and invariants that defines a validity boundary. It serves as the immutable input for validation logic, distinct from a mutable policy or social [Constitution](https://semahash.org/vocabularies/bootstrap/patterns/Constitution.md).

## Invariants

- Immutable once bound: a change is a new RuleSet, not an edit to the one already committed to.

## Where this came from

—

## Builds on

- [Constitution](https://semahash.org/vocabularies/bootstrap/patterns/Constitution.md) (references)
- [Constraint](https://semahash.org/vocabularies/bootstrap/patterns/Constraint.md) (references)

## Used by

- [InvariantFilter](https://semahash.org/vocabularies/bootstrap/patterns/InvariantFilter.md) (accepts)
- [OathBind](https://semahash.org/vocabularies/bootstrap/patterns/OathBind.md) (references)
- [Ruleflip](https://semahash.org/vocabularies/bootstrap/patterns/Ruleflip.md) (references)

## Related

- [Ruleflip](https://semahash.org/vocabularies/bootstrap/patterns/Ruleflip.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: RuleSet#7ebf
- Hash: sema:RuleSet#mh:SHA-256:7ebf36ad0634307d189aa0545d3424f0d0783bf2a0df04dfafdecf64e0cc9146

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/RuleSet
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/RuleSet.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
