Removed MatchesInput rule and made $this reference the Data object on which validation/filtering is being done to make the entire Data input available for matching.

New way would work like this to match against another input:

    $v->addValidator('input2', function($v) {
        return $v->matchesValue($this->getValue('input1'));
    });