Judge rules on $51m Barber bushfire appeal