boost::spirit: implement filtering facility

Signed-off-by: Alex Dubov <oakad@yahoo.com>