Add filter priority

Fix #50.