IPClassifier: Add per-output pattern handlers.

Request from Momina Khan. Meraki has something like this.