Partial Active Pattern to match AssignRank discriminated union value