A left-wing activist from Haifa who was barred from demonstrating for two weeks has won a court appeal allowing him to take to the streets again.