most importantly the rules will surely help in minimize losses and maximize your winnings too.
You are right that discipline and bankroll definitely help but they will not maximize your winnings in any way. You know every casino has a house edge & odd management, so your money management will never be able to overcome them,

. But yes if you have a good money management it will give you a lot of variety to play & prevent your bankroll from getting nuked. What I do is always choose lower edge games & follow basic strategy. I also use a fixed monthly deposit cap & set a play time which I do not exceed. You can even use pre commitment tools if you want, they will save you from overspending & losses. Always look at your winnings as a variation never think that you are a genius that is why you won, lmao.
Duke Khan
I think many people have a problem that they think they are geniuses and are too self-confident about the game, but from my observations, those who start thinking like that, then losing is waiting for them close, most often. I also thought at the beginning of my gaming journey that I would be luckier than others, but I quickly stopped thinking like that and came down to earth, because luck chooses everyone randomly, the rest is only in our hands. We can only control the loss limit, time as you said, but we must not forget to try new strategies, because at one point we can discover something effective and profitable, at least for a while.