Spain has introduced new rules that come into play during extreme heat, and next month is likely to see a heatwave across the country.