TEHRAN, July 25 - A Turkish court ruled on Wednesday that an American pastor be transferred from jail to house arrest, his lawyer said, after nearly two years in detention on terrorism charges in a case which has strained ties between Ankara and Washington.