Policy editor: draft implementation

Jira issue: WP-532