Add filter priority (fix #50)