Which I guess doesn’t address “House rules”, but such isn’t mentioned in the wiki article.
There was a rather lengthy thread about electing Trump as Speaker not long ago, before McCarthy took the seat. I’d imagine this was all played out in that thread.