public void add(final String path, final Object rule) {
			String pattern = path;
			if (path.startsWith("*/")) {
				pattern = path.substring(1);
				lpatterns.add(pattern);
			} else if (path.endsWith("/*")) {
				pattern = path.substring(0, path.length() - 1);
				rpatterns.add(pattern);
			}
			rules.put(pattern, rule);
		}