I have the when part of a rule

Cluster($ipAddressCollection : ipAddressCollection != null)
$ipAddressUsage : IPAddressUsage(guid in (IPAddressUsage.CUSTOMER_MANAGEMENT,
                                                                 IPAddressUsage.CUSTOMER_BACKUP,
                                                                 IPAddressUsage.CUSTOMER_PRODUCTION,
                                                                 IPAddressUsage.CUSTOMER_HEARTBEAT))
java.util.LinkedList(size == 0) from collect( IPAddress(ipAddressUsage == $ipAddressUsage) from $ipAddressCollection.ipAddresses)

This works fine, but I would like to constrain the IPAddress's usage within the collect, as opposed to joining.

Anyone know if this is possible?

thanks

dave