LPS-52152 Rewrite access control advisor to use policies