Sharing Rules can be set by any of the following properties in the Edlink dashboard:

Class People School
class id first name school name
class name last name school id
school person id
teacher role
course grade
course code
grade
subject
state

Check out this article to learn more about how to set sharing rules.