contents_match and line_match rules