simple implementation of a CapabilitiesFilter