Added 'id' attributes to 'policy' and 'rule' tags

Jira issue: WP-932