<rule>*
<description>Copy*ATTR1*attribute*values*to*ATTR 2</description>*
<conditions>*
<and>*
<if-class-name*op="equal">User</if-class-name>*
<if-src-attr*mode="regex"*name="ATTR1"*op="equal">.*</if-src-attr>*
</and>*
</conditions>*
<actions>*
<do-clear-src-attr-value*name="ATTR2"/>*
<do-for-each>
<arg-node-set>
<token-src-attr name="ATTR1"/>
</arg-node-set>
<arg-actions>
<do-add-src-attr-value*name="ATTR2">*
<arg-value*type="string">*
<token-local-variable*name="current-node"/>*
</arg-value>*
</do-add-src-attr-value>*
</arg-actions>
</do-for-each>
</actions>*
</rule>*