We should add a return code for the bt_machine_add_pattern.
Or what we do, if we give the method a NULL pattern?