the shipping country is stored in a session variable named:
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"
Based on session variable value.
if the sessin is = to "ES" then charge 5, if it is <> to "ES" then charge 8