You might think you studied grammar at school. Maybe you even think you understood it (I surely thought so, at least, to a point). The truth, though, is this: you probably didn't.
Grammar is not a pile of random rules. And no, it's not a pile of comprehensible rules, either.
Grammar is an unconscious structure in your mind, like a code of sorts, that allows you to understand and produce language. Some speculate this code might be universal and found in every speaker of every language.
Though it is hard to pinpoint a specific anatomical structure of your brain where this universal code might dwell, there are tools that prove very useful in understanding the why behind all those messy piles of rules, each of which comes with a list of nuances you should keep in mind and a dozen exceptions.
In this article, I go through the basics of one such tool, the X-bar theory, which is amazing for understanding syntax, the study of sentence structure, and possibly a huge part of morphology, the study of word structure, as well. I used this framework for learning the German sentence structure, and, unlike the article I got my rules from, it made all the grammar a piece of cake.
If you decide to try applying the X-bar framework for your target language, let me know how it goes.
https://vocal.media/education/how-to-use-the-x-bar-theory-to-make-learning-grammar-a-piece-of-cake