Rationally weighted Hurwitz numbers, Meijer G-functions and matrix integrals