Generic Multi-Value Rule

Is it possible to have a rule similar to the built-in “Cloud Services Deployment Utility” and pass in values to that using Transform syntax?

My idea is to build a rule for converting multi-valued Account attributes into a comma separated Identity Attribute, but make it generic so it can be reused across multiple sources/attributes.

Example of how the Utility is called:

{

  "id": "id",

  "name": "name",

  "type": "rule",

  "attributes": {

    "attributeName": "attributeName",

    "name": "Cloud Services Deployment Utility",

    "operation": "getReferenceIdentityAttribute",

    "uid": "manager"

  },

  "internal": false

}

How this generic rule would be called:

{

  "id": "id",

  "name": "ProxyAddresses - Multi Valued",

  "type": "rule",

  "attributes": {

    "attributeName": "proxyAddresses",

    "sourceName": "Active Directory",

    "name": "Multi Value Rule"

  },

  "internal": false

}