Ruling says part-time firefighters can unionize