use :op not :operator
transform cardinality expression

corrected a misunderstanding I had about transforms along the way:

the rule (a: simple(:a)) won't match {a: blah, b: foo}
you need a rule (a: simple(:a), b: simple(:b))