DUBLIN (AP) — Spain has qualified for the men's Rugby World Cup for the first time this century.