Setting CMP policies is now done in a for loop.

Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>