Australia all out for 243, Rabada snares 5 wickets