Rules / functions / scripts: best approach

It can’t. It’s an error. It should be val.