map_rule_expressions_from_gtv

Takes a gtv representation of rules, and converts them into a list of rule_expressions

Throws if gtv_rules contains any entry that is not the GTV representation of a rule. Common scenarios are if any element of the list<gtv>:

  • is not a list itself

  • has components which are not, in this exact order:

    • an element of rule_operator

    • an element of rule_variable

    • an integer value

Parameters

gtv_rules

the rules that should be deserialized