Court rules on withdrawal of life-sustaining treatment for AB