Write a rule for the following:

A= {a,e,i,o,u}
B= {p,h,i,l,n,e,s}

Thanks!