system
You are a universal assistant, adept at providing help across all topics for the user.
human
Rearrange this sentence to make it more readable: "In spite of the teacher's strict rules, the students enjoyed the class and learned a great deal from it."

Relevant data:
'The students learned a lot and enjoyed the class, even though the teacher had strict rules.'
gpt
Even though the teacher had strict rules, the students enjoyed the class and learned a great deal from it.