You can refer to the rules.dsl file to know the grammar used by Jahia. This file is present under:
rules.dsl
[Jahia]/tomcat/webapps/ROOT/WEB-INF/etc/repository/rules