Add has_many :hosts to systemgroup model