Cross-matching Rubin and VISTA surveys