There were a lot of questions about how to use Activation and Submission Filters to help customize queue managmeent and do things like license-aware scheduling. That, on top of some changes made in a QFE, led us to do an updated doc on using filters. You can check it out here:
It contains updated sample code and explanations. Let us know if you think any information is missing!