Rename ResultActionPair to MatchRulePair.
Code review changes (See below).

Refactor method to use ternary operator.
Assume a non-nullable argument in copy trans internal method.
Refactor internal MatchRulePair class.
Add @SlowTest annotation.

For now just a marker interface to identify potentially slow running tests.