He gets outboxed badly by both in my opinion. Valero never fought anyone in the same caliber of both fighters. He's an overrated 'what if' fighter.
Before his first round ko streak ended, he moved away from being the well-rounded fighter that people who saw him spar swear that he was, and became overly aggressive. He still had some fairly intelligent movement when coming inside, a decent understanding of distance and, obviously, tremendous power. Against either of these guys, that wouldn't be anywhere near enough. They'd both completely undress him. We have the obvious caveat of Rigo's ability to take a punch combined with Valero's power but even then, he'd be a heavy underdog. A puncher's chance v Rigo (which really means not much chance at all) and even less against Loma. He wasn't equipped to deal with that sort of movement and counter-punching. He never experienced anything close.
Loma would have a better chance versus valero, but I think he blasts out rigo. Rigo too small for the aggressive swarmer