add some rules for test feature, adapt Manifest, add lake config and ignore file, add functions to rulebook and its helper