Judge rules in favor of National Amusements in CBS lawsuit