A state appeals court had said Emanuel, who until recently had served as White House chief of staff in Washington, D.C., could not run for mayor because he had not lived in Chicago for a year before the February 22 vote.