Spain has listed three categories of people whose visa applications may be rejected and explained the reasons they may not be allowed to enter the country.