OPA gatekeeper : REGO parse error

I wrote a constraint template (V1Beta1), it test successfully by The Rego Playground ( https://play.openpolicyagent.org/ )

But when I add this template to rancher V2.4.4, error occurs, Is this a bug?

Screenshot at The Rego Playground