Answer:In Harry Potter and the goblet of fire,the character named Hermione Granger is breaking school rules in which she does not like doing.She is a top student at Hog warts(I think I haven't watched the movie in a while) She is also a book worm who spends most of her time in the library. Hermione Granger was breaking who school rules for her two best friends Ron Weasley and Harry Potter because Harry asked for their help.Hermione probably helped because she was worried about Harry and Ron getting hurt or she did not want to loose them.
Hope this helps sorry if it doesn't.(I remembered most of what happened I haven't watched the movie in a while).