AttributeDesignatorType designator = AttributeDesignatorHelper.build(
AttributeDesignatorType.ACTION_ATTRIBUTE_DESIGNATOR_ELEMENT_NAME, attribute);
String attributeDataType = (matchFunctionDatatype == null ?attribute.getDataType() : matchFunctionDatatype);
AttributeValueType policyAttributeValue = PolicyAttributeValueHelper.build(attributeDataType,
CtxAttributeTypeHelper.getFirstValue(attribute));
environmentMatch.setEnvironmentAttributeDesignator(designator);
environmentMatch.setAttributeValue(policyAttributeValue);
environmentMatch.setMatchId(matchFunctionId);