Fix match controller in access rule, match uniqueId instead id

issues/2482