Why does casto have to come before mluvi? Is there a rule about this?
It doesn't. I will add this possibility. There is a subtle difference in the stress, but both are possible.