Add builder for Timeout rule. Make Timeout rule designed for extension.

The indentation is off by a few spaces here and in a number of other `return` statements.