rewrite selectPodPolicy.py