Add client_attrs to SQL context for client connectivity events and message publish event. Now one can access client attributes in rule SQL like SELECT client_attrs.attr1 AS attribute1 and use ${attribute1} in data integration actions.
client_attrs
publish
SELECT client_attrs.attr1 AS attribute1
${attribute1}