To tame, have honey or mejo berries in your hotbar and when the rat burrows into the ground throw them into the hole.

More Roll Rat Taming & KO Tips