Fixed typo.
Fixed some syntax errors; moved aic:hasTag up to aic:Resource.