element('serverRuleElements/rules_widget', [ 'scope' => 'tag', 'scopeI18n' => __('tag'), 'technique' => 'pull', 'allowEmptyOptions' => true, 'options' => $allTags, 'optionNoValue' => true, 'initAllowOptions' => $tagAllowRules, 'initBlockOptions' => $tagBlockRules ]); ?>

element('serverRuleElements/rules_widget', [ 'scope' => 'org', 'scopeI18n' => __('org'), 'technique' => 'pull', 'allowEmptyOptions' => true, 'options' => $allOrganisations, 'optionNoValue' => true, 'initAllowOptions' => $orgAllowRules, 'initBlockOptions' => $orgBlockRules ]); ?>

element('serverRuleElements/rules_filtering_type', [ 'technique' => 'pull', 'allowEmptyOptions' => true, 'allAttributeTypes' => $allAttributeTypes, 'attributeTypeBlockRules' => $attributeTypeBlockRules, 'allObjectTypes' => $allObjectTypes, 'objectTypeBlockRules' => $objectTypeBlockRules, ]); } ?>
element('genericElements/assetLoader', array( 'js' => array( 'codemirror/codemirror', 'codemirror/modes/javascript', 'codemirror/addons/show-hint', 'codemirror/addons/closebrackets', 'codemirror/addons/lint', 'codemirror/addons/jsonlint', 'codemirror/addons/json-lint', ), 'css' => array( 'codemirror', 'codemirror/show-hint', 'codemirror/lint', ) )); ?>