Yes, you have to edit the file /config/bigip.conf, but first make a backup with the command:
cp /config/bigip.cong /config/bigip.conf.bk
And after renaming the policy and all the references that call this policy, you have to reload the config with the command
tmsh load sys config
and if the modifications are correct run the command:
tmsh save sys config
hope it´s works.