Add docs and check rules to build infrastructure.