Australian gymnast Tyson Bul has qualified for the horizontal bar final at the Olympics in Tokyo.