Cleanup currentMigrationRules
Cleanup currentMigrationRules

1. Use filepath for filename manipulations
2. Restructure method logic

Kubernetes-commit: 11800147f51e85b9a4fb7eb2654cae3ded9d8cf0

kubernetes/client-go