Add base rule and `Required` rule.