Refactor device/configuration/interface/endpoint criteria on packet filters into separate class to enable reuse with injectors.