Attribute value rewriting