Suppose you want, Profile Type1 users Can not Like Photos created by profile type2 then perform as following:

  1. General Parameters

  2. Rule Parameters