#984: API: implemented ability to get access rules with pages list