Move custom rules to a `custom` kwarg.

Custom rules are enough of a niche thing that it's not worth making future kwargs so hard to add.