Here is an example rule set with Display and non-Display rule attributes:
<?xml version="1.0" encoding="UTF-8"?>
<RuleSet name="Example_Display"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"http://www.curamsoftware.com/CreoleRulesSchema.xsd">
<Class name="HouseholdMember">
<!-- This attribute will be made available for display in
decision details -->
<Attribute name="dateOfBirth">
<Annotations>
<Display/>
</Annotations>
<type>
<javaclass name="curam.util.type.Date"/>
</type>
<derivation>
<specified/>
</derivation>
</Attribute>
<!-- This attribute will be made available for display in
decision details -->
<Attribute name="fullName">
<Annotations>
<Display/>
</Annotations>
<type>
<javaclass name="curam.creole.value.Message"/>
</type>
<derivation>
<XmlMessage>
<replace>
<reference attribute="firstName"/>
</replace>
<replace>
<String value=" "/>
</replace>
<replace>
<reference attribute="surname"/>
</replace>
</XmlMessage>
</derivation>
</Attribute>
<!-- This attribute is used as an input into the calculated
fullName, but is not directly required for display -->
<Attribute name="firstName">
<type>
<javaclass name="String"/>
</type>
<derivation>
<specified/>
</derivation>
</Attribute>
<!-- This attribute is used as an input into the calculated
fullName, but is not directly required for display -->
<Attribute name="surname">
<type>
<javaclass name="String"/>
</type>
<derivation>
<specified/>
</derivation>
</Attribute>
</Class>
</RuleSet>