How do I create a rule to save attachements

According to the help, I can set the type of file to act on, however I can see NO WAY of actually adding a rule.
I wish to save automatically all files with a specific extension, how do I do this?