Refactor import policies command
Now works the priority reverse policies