fixed rules unicode issue