the shipping country is stored in a session variable named:
eCartCheckoutForm_shipping_country
in your shipping rules, you can use that session value to determine the shipping cost
use the triggers:
Session Variable is set "eCartCheckoutForm_shipping_country"
And
Based on session variable value.
if the sessin is = to "ES" then charge 5, if it is <> to "ES" then charge 8