use classes and not tag name for dom traversal + allow to change group and rule templates