This is just some ideas i might do in that situation!
Let Rick feed Buddy at feed times!
Only Rick walk Buddy (with you there)
When its treat time Let rick Feed him!
and stuff like that, but obviously dont ignore him and him think that you prefer the other dog!
you may allready do this but anyways good luck
Delcey