Adding correct access rules