SEOUL (Reuters) - A Tokyo court on Thursday ruled in favor of Apple Inc in a patent lawsuit over mobile devices filed by Samsung Electronics, the South Korean firm said.