MADRID - Security forces averted an attempt by about 1,000 migrants to rush a towering, triple-layer border fence separating Morocco from the Spanish-held north African territory of Melilla, Spain's government said Tuesday.