#182 Make RuleURI valid host when class name has cyrllic letters

Made the smallest change possible to make RuleURI HostName valid and added unit test.