Alolan Raticate always makes me think of the godfather, like he is the big mafia boss of the alolan ratatas xD
And according to serebii.net, female ratio is 12.5% so I think you just got very lucky!
Now that mention that, any idea if hordes battles is a thing in Sun/Moon ? I use that for EV training .