* added rules with patterns and distances