Rules for Filtering Documents into Folders?

Rules for Filtering Documents into Folders?

When a document merge is e-mailed from my Form, it is stored in Docs. Is there a way to automatically sort documents into folders as they are added from Forms?