filter: add methods for creating a filter from raw instructions
capture: validate filters before applying them