modify ruleset to allow ipv6
add locale error fix