Add basic rules documentation.