Add a symbol filter

Fixes #61.