Avoid double disposing of directshow player
Add a custom rule set.
More /analyze fixes.