Ministerial Code

Former first secretary of state says text message was a 'joke'.
Rules say party activity banned on Government property