This hasn't seen any posts in a while and pre-dates the import/export feature, but it was created with that goal in mind:
Otherwise, people here tend to be helpful if you ask, so don't be afraid to just try that. Or try searching for a similar rule (or use a built-in app if it meets your needs instead) to see if someone has already made something that would work.