wrapRule = function wrapRule( fn, prop ){
        return function( thing ){
            return fn( thing[ prop ] );
        };
    }
hide
wrapRule( fn( propVal ), prop ) -> Function
- fn (Function): The test function
- prop (String): The property name to test
- propVal (Mixed): The property value

Get test function to test on sub property.