Hello Vlad,
hmm... I'm not sure I totally understand ? by "possible" do you mean
"useful in a specific solution you work with" or something else ?
It could be helpful to supply test cases. For example what you
consider a "good" behaviour ? a "bad" behaviour ?
We already have some rules that seems to do similar stuff so it would
be possible, even easy, to create "solution-specific" rules based on
them. However without more details it's hard to see if it's "generally
useful enough" to be included in Gendarme... or maybe we could
consider having a "custom" (inactive by default) rules...
Sebastien