SAN FRANCISCO (Reuters) - A U.S. judge largely sided with Apple on Wednesday over how several technical terms will be defined in its patent fight against Samsung over smartphones and tablets.