Finally i've figured out this thing. Thanks for your assistance. Suddenly i've found your old post regarding same problem: http://www.mail-archive.com/dovecot@dovecot.org/msg16388.html +searching user_query in dovecot wiki found same description there http://wiki2.dovecot.org/Quota/Configuration?highlight=%28user_query%29 i dont know why i have seen this before.
i can say one more thing. in quota.conf next string has no sense coz it's overided by sql query and quota is set by postfix admin. i had other headache for an hour while figured this out. no sense quota_rule = *:storage=1G:messages=10000 (maybe for system users and/or users which are not binded to sql) what ever other quota_rule numbers for global settings but not quota_rule.
so thanks again moving to next problems with other plugins like expire...there is no expire table in sql ))))