In case anyone was not aware, Stack Overflow was co-founded by Joel Spolsky and Jeff Atwood. Their original outlook is essentially what the original "rules" were.
However, there were no exact rules, because when it first started, as with many online startups, the largest hurdle was onboarding.
The hardest thing about making a new Q&A site is not the programming—it’s the community. You need a large audience of great developers so you have the critical mass it takes to get started. -Joel Spolsky
Luckily the founders were very popular bloggers and already had quite a following, so the onboarding process had a head start. The format quickly attracted many other exceptional problem solvers.
In the beginning of August, the beta opened to a small group of just a few hundred developers. The site lit up instantly! People were asking questions and, for the most part, getting answers! -Joel Spolsky
Stack Overflow was seemingly started as a vision quest.
It is by programmers, for programmers, with the ultimate intent of collectively increasing the sum total of good programming knowledge in the world. -Jeff Atwood
Jeff goes on to explain that this goal was created because
There's far too much great programming information trapped in forums, buried in online help, or hidden away in books that nobody buys any more. We'd like to unlock all that. Let's create something that makes it easy to participate, and put it online in a form that is trivially easy to find.
Day 1 of Stack Overflow, there was no closure, nor deletion (aside from staff deleting content), there was no community moderation whatsoever (unless you want to consider personal communications outside of the platform).
Joel's vision for questions was
Every question in Stack Overflow is like the Wikipedia article for some extremely narrow, specific programming question. How do I enlarge a fizzbar without overwriting the user’s snibbit? This question should only appear once in the site. Duplicates should be cleaned up quickly and redirected to the original question. -Joel Spolsky
It was a free for all, and as happens in all organized chaos, that came with both advantages and disadvantages. Much of the advice Joel gives during the launch blog post is simply bad advice in today's environment. He realized that over time the rules would change though, even during launch stating
[This is] how it’s supposed to work. This is a community project, so I’m being careful to avoid saying this is how it will work… that’s up to the community. But this is roughly what I have in mind. -Joel Spolsky
Over time, the rules evolved. You can read most of the evolution if you go through Joel's http://joelonsoftware.com, Jeff's http://codinghorror.com, MSE http://meta.stackexchange.com, the blog https://stackoverflow.blog/?blb=1, and the podcasts https://stackoverflow.blog/podcasts/page/42/. Make sure to set aside some time if you are intent on getting through all of it, 6-8 weeks should do.