ReplaceAll (/.)

If rules is a list of lists, a list of all possible respective replacements is returned:

The list can be arbitrarily nested: