Farrell appointed to state Supreme Court