Sort rules by label

Spent *waaaay* too much time on this :smile: Fixes #113.

/cc @cobyism @Haacked @talniv