added charset rules