def is_rule(line: str, starting_chr: str = '*', omit: str = 'NOTE') -> bool:
    """If the first character of the line is the selected character and the line doesn't contain the omitted text (case-sensitive)."""
    return True if line.startswith(starting_chr) and line.find(omit) == -1 else False