Fix regexp for policy management

Jira-issue: WP-1219
Merge pull request #44 from aldafu/WP-1219-really-fix-regexp

Fix regexp for policy management