The same reason it’s ok to eat pigs but not dogs. Humans place animals into fictional categories which dictate the acceptable level of abuse that is allowed to be inflicted upon the animal.
And your source for this preposterous statement is...? Rats are extremely intelligent and social animals.