Dropped in Prevoty's Ruby SmartFilter bindings and modified it via
inheritance. Not sure of the license situation with that repo.