search with format_rule