}
public boolean rulesOfTypeAllows(BrutauthClassOrMethod type) {
boolean rulesAllows = true;
if (type.containsAnnotation(SimpleBrutauthRules.class)) {
SimpleBrutauthRules annotation = type.getAnnotation(SimpleBrutauthRules.class);
Class<? extends SimpleBrutauthRule>[] rules = annotation.value();
long permissionData = 0l;
if (type.containsAnnotation(AccessLevel.class)) {
permissionData = type.getAnnotation(AccessLevel.class).value();
}
rulesAllows = rulesAllows(rules, permissionData);