In principle, it is rude to exclude someone based on their background
However, what constitutes background? Rejection based on mere identity is inherently wrong. But, certain past yet extreme actions, such as murder perhaps, would constitute valid rejection.