some cosmetic changes
added (working) spec for name_contains_rule