BART strike averted, rules judge