Outerhtml and multiple attributes

This patch includes:
 
- An import rule option to capture outer HTML
- Import data from multiple css selector 
- Some code cleanup and refactorings