Saying cows lie down before it rains, without qualifying a time scale for the rain to happen within, is just saying cows sometimes lie down and that sometimes it rains.
As for a purpose? I don't think there is one for humanity, though that doesn't exclude humans from making ones for themselves.
Or maybe it rains *because* cows lie down ;p