Import Apple Mail rules?

How can I import the dozens of rules that I have on Apple Mail?