Fix review comments + add custom rules.

Add docs for using callables as validation rule as that is sure to come
in handy for some people.