Create instance if a classname is specified
Enhanced IntervalFilter::from()
Support 'greater than' and 'less than' intervals