1. A method, comprising: receiving an input; determining if the input can be processed by an optimized filter engine and, if so, directing the input to the optimized filter engine for processing; if the input cannot be processed by the optimized filter engine, directing the input to a generalized filter engine for processing; processing the input to derive a result; wherein the generalized filter engine is configured to handle terms of a language to which the input conforms and the optimized filter engine is configured to process a subset of the terms of the language.