Added basic filter parsing functionality.