Reference implementation of the filter strategy used by the CASA Protocol modules