[CONNECT Update 15 C++] Display Rule API

When I create a Display Rule manually it works...

Display Rule

When I write the same rule using code...

DisplayRulePtr displayRule = mgr.MakeRule (L"ELEMENT.Area Feature.occupied=No");

Display Rule

The Display Rules dialog tells me Unrecognized criteria!  There is no further explanation.  How can I diagnose problems with Display Rules?

You can reproduce this using the delivered SDK example ..\View\DisplayRule.  If I use that example's command to add a rule, it also fails when the rule involves an Item Type; the code succeeds if it concerns a raw element property.

The failure seems to occur when setting a rule for an Item Type property value.  Is there something about Item Types that affects the way in which a rule should be specified?