Creates a new AccessRule with the given ID and default properties.
the access rule's ID, or null
null
a new AccessRule; unref with unref