Judge rules for Brentwood Academy over TSSAA