def parse_config(config_string):
    """
    Parse the config string to a list of strings.
     Lines starting with '#' are ignored.
     Strings are split on commas
    :param config_string: String as read from the config file
    :return: List of general predicate strings to filter
    """

    strings = []

    for line in config_string.split('\n'):
        line = line.strip()

        if line == '' or line.startswith('#'):
            continue

        string_group = [x.strip() for x in line.split(',') if x.strip() != '']

        strings.extend(string_group)

    return strings