Fixed compiler warnings about ToString overloads and unused variables.
Merged AtRules into Rulesets which now is of type RuleSet.
Merge branch 'upstream'