Was Cleopatra the sole ruler of Egypt?

yes but it is known that Cleopatra`s other sister sibling ruled before her but were executed for overthrowing their father.