rule Rule Bases: BaseRule Source code in griptape/rules/rule.py 8 9 10 11 12 13@define(frozen=True) class Rule(BaseRule): value: str = field() def to_text(self) -> str: return self.value value: str = field() class-attribute instance-attribute to_text() Source code in griptape/rules/rule.py 12 13def to_text(self) -> str: return self.value