Remove unused code

While at it, give the totalWeightLimitSizeStyleRules a better name