Cricket Australia has fined David Warner for breaching its Code of Behaviour following his Twitter rant at the weekend.