Yeah, I'm aware of that. I've watched the anime and know the link between Red/Ash and Blue/Gary. I always name my rival Gary (except in Emerald where it's female and it's May). Just because.
Actually Gary Oak is Blue Oak's anime counterpart, I know because I've battled against the Viridian City gym leader in Pokemon Gold/Silver/Crystal/Heart Gold/Soul Silver.