Anyone who can tell me how to reference a attribute from a CI?

What we have done is to set the name of the service-group into the attribute “State” for all CI types of type host (win, unix, linux, router, switchrouter …)

What I would like to be able to do is just assign the the value in “State” to the NodeGroup so that the node ( in this case a Linux node) would be put into the node group CMDB and LDAP.

<Rule name="LDAP_Linux">
<Condition>
<And>
<Equals>
<CiType />
<Value>unix</Value>
</Equals>
<Equals>
<Attribute>host_os</Attribute>
<Value>Linux</Value>
</Equals>
<Equals>
<Attribute>state</Attribute>
<Value>LDAP</Value>
</Equals>
</And>
</Condition>
<MapTo>
<NodeGroup>
<Value>LDAP</Value>
</NodeGroup>
</MapTo>
</Rule>

change this to something like :
<Rule name="LDAP_Linux">
<Condition>
<And>
<Equals>
<CiType />
<Value>unix</Value>
</Equals>
<Equals>
<Attribute>host_os</Attribute>
<Value>Linux</Value>
</Equals>
</And>
</Condition>
<MapTo>
<NodeGroup>
<Value>THE_VALUE_IN_ATTRIBUTE_STATE</Value>
</NodeGroup>
</MapTo>
</Rule>

Any hints? Not possible?
GSH