The Ashfield MP admitted breaking Parliament's rules on bullying and harassment after using 'totally unacceptable' language.