Depends on the reason for rejection. If the rejection was not related to inadmissibility (security/criminality ground, misrepresentation, etc.) than it is irrelevant to your PR application. Be honest when you fill your PR application and don't ommit information about visa refusal.