Rule-based file moving and renaming tool