Can we set up rules without objectID?

Our object’s Id keep changing as we change our content in pages . So when we pin some objects in algolia rules they are also removed.
Is there any other way of using rules that does not use objectID’s ?
In our objects the url of page remians contant , can we use url to pin items?