For example the well formed formulas are formed by some rules. We have an atomic formula which is a formula, a conjunction of two formulas which is also a formula and et cetera.
My question is, how is this set of rules for forming new elements described formally?