Team Charter is an OUTPUT that documents what are the values, vision, expectations (e.g., ground rules), guidelines, decision-making criteria and processes, etc.
Ground rules is a TOOL used to inform team members of acceptable behavior, say in a meeting with stakeholders. Ground rules are defined in the Team Charter.
So, a project manager can use the ground rules documented in the team charter to inform his team what behavior is acceptable and what is not.