Security levels rules expressions

And custom security levels are related to idp by expressions, i may have some problems in expressions syntax