Data Group for multiple customers to whitelist blacklist

We have been using separate whitelist/blacklist for each customer so far but we are now planning to move to single VIP configuration to handle traffic for all customers for which we have the iRule working fine as per our requirement. However we would like to have one iRule for whitelist/blacklist for multiple customers that can handle traffic via data group, to avoid editing iRule for every new customer addition. Please suggest syntax for the iRule and Data Group.

How do you differentiate the customers? Can you provide the iRule you use now per customer?

In relation to iRule and data groups, this solution explains how to use: