The original list came from [this gist](https://gist.github.com/darkyen/120c46739985ebf3b39b) at GitHub. (This list also contains two versions of rule 218. I intend to sort that out when I get a chance.)
I've also added both official and unofficial rules from [this list at the Memory Alpha fandom](https://memory-alpha.fandom.com/wiki/Rules_of_Acquisition).
I've also filled in some blanks with [this unofficial list](https://projectsanctuary.com/the_complete_ferengi_rules_of_acquisition.htm) but I'm not sure how may of these are actual canon.
The "rules with blanks" file includes blank lines for rules that have not yet occurred yet. I'm still looking for these, so if you know of them (whether canon or not), please let me know. (The reason for these large blank areas, I suspect, is from writers needing to invent a new rule but not having time to find out if a given rule exists. So they just pick a large number that they hope is sufficiently far away from the current list. Also, in the good old days when most of these rules were being created, the internet was not the place that it is now.)
Also, I think I have read at most two or three Star Trek novels, and that was years ago. So I'm not reeally aware of any rules that have their origins in books. (And I'm pretty sure that books are considered non-canonical.)