Updated to use current lg_add_pattern_list signature, which now also
takes a string indicating the source of the patterns.