# rule_expression_to_gtv · FT4 Rell API · Chromia Docs (concept)

> function rule_ expression_ to_ gtv(rule_ expression: rule_expression ): gtv Takes a single rule_expression and returns the gtv representation that can be u

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/rule_expression_to_gtv/

FUNCTION

# rule\_expression\_to\_gtv

```signature
function rule_expression_to_gtv(rule_expression: rule_expression): gtv
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/auth_descriptor_rule_validation.rell#lines-28)

Takes a single `rule_expression` and returns the gtv representation that can be used
inside of auth descriptors.

**Parameters**

* **rule\_expression** — the rule that should be serialized

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts/rule_expression_to_gtv.html)Generated API reference, mirrored from the live docs
