Adds validation of access rules

Partially implements: bp improve-acl-functionality
Change-Id: I46d3edcadf33afef6fac242284dc6d61b4712bc1
Merge "Adds validation of access rules"