as far back as the vedanta , this way of tying down the wild creativity of thought was codified into seven logic-directing categories : quality , substance , action , generality , particularity , intimate relation and non-existence ( or negation ) .