Nobody ordered a yappachino but since you wanna act all high and mighty because you've never scrapped i'll break it down.
The guy was threatening Rylie and his friend with a machete. Rylie attacked him in self defence. If that man goes to the police he has no case. Not to mention the man is a pedophile, So as far as the consequences, they're almost non-existant.
As for Rylie celebrating, that's totally normal for someone who just won a fight against a man with a freaking machete. π But fr, when your life is being threatened, you have to fight. That's how the world works.