MAFA-3: Added combination filtering for devices

Signed-off-by: unknown <cnwnh1@cnwcb5a.cnw.co.nz>