Bulldogs rally to beat Rebels