An Israeli judicial panel selected Dorit Beinish as the first woman to be president of Israel 's Supreme Court , replacing Aharon Barak , who is retiring after nearly 30 years on the country 's highest court .