All agencies shall adopt rules establishing procedures for contested case hearings.