Consider the following type of sentence:
It is kind/nice/cruel/considerate of you to do X.
I understand that the preposition used there should always be 'of,' not 'for.'
Now how would we extend that pattern to the following:
It is decent [of you or for you] to do X?
It is smart [of you or for you] to do X?
I believe that the first sentence continues the pattern above and should take 'of,' while the second might be better with 'for'?
Is there any general rule or pattern to apply to this type of sentence to determine which preposition to use? For example, it seems like the adjectives which take 'of' express connotations of gratitude (as with kind, nice etc.) or the opposite (as with cruel). 'Smart,' on the other hand, which seems like it would fit better with 'for' than with 'of,' does not carry connotations of [gratitude/obligation/the inverse] on the part of the speaker towards the person described as 'you.'
PS. This question does not request for any proofreading: it is only all about the usage of 'of' and 'for' in case of the adjectives like properties or qualities of a person that is described as nice, kind, ..., and/or decent, etc. , especially of the usage of 'decent'.