Imported and updated patch to show imported stylesheets
Optimize rule recursion
Add import test
Add test resources
Fix off by one with imports