update rules for size.erb.