Court ruling lifts house arrest but forbids top opposition figure from conducting political activities and going abroad.