// create a fake environment to read the meta data block
Environment env = new Environment(n, mc, "default", this);
for (MapCSSRule r : rules) {
if ((r.selector instanceof GeneralSelector)) {
GeneralSelector gs = (GeneralSelector) r.selector;
if (gs.getBase().equals(type)) {
if (!gs.matchesConditions(env)) {
continue;
}
r.execute(env);
}
}