Well thinking about how we all have varying personalities and different upbringings and cultures and life experiences etc etc, I anticipate a wide variety of answers to this question. I am INTP on the Myers Briggs indicator, and I do not especially value rules and boundaries.
It's still a hard question to answer, as I think an effect of my high autistic traits or Aspergers is that I find unstructured social interaction difficult, it doesn't matter who with, on the whole, although pleasant, kind, secure and slightly bossy people tend to enable me better.
So, I am unlikely to actually form effective relationships with anyone, really, as usually the conditions are not available that would enable me to do so. However, in for example, a work environment, or a structured social environment, I would get on best with people who are broadminded, value driven, kind, and have good senses of humour. I would get on least well with people who are superficial, judgemental, unkind or selfish, or who lack a sense of humour .