Add appropriate aggregate filters

The cpu_allocation_ratio and disk_allocation_ratio settings were added
previously, but do not take effect unless the matching filters are
applied.

This is a backport for issue #315