Use constants dynamically to prepare policy array.

Testing this pull request