I have two lists:
list={{1,2,3,5},{5,3,9,11,12},{5,9,10,16}};
list2={{7,89},{96,5},{-6,-98}};
This is the expected result.
{{1->{7,89},2->{7,89},3->{7,89},5->{7,89}}, {5->{96,5},3->{96,5},9->{96,5},11->{96,5},12->{96,5}}, {5->{-6,-98},9->{-6,-98},10->{-6,-98},16->{-6,-98}}}
This is my current try.
Thread /@
Thread[Rule[list,
MapIndexed[ConstantArray[list2[[First[#2]]], Length[#1]] &, list]]]