Moved bulk of style validation to base class

Generalized style validation using setattr

Added hit_line_percent as configurable parameter to Simple style