public boolean containsInRuleBody(final Literal literal, final RuleType ruleType) {
		Map<String, Rule> rules = getRules(literal);
		if (null == ruleType) {
			for (Rule rule : rules.values()) {
				if (rule.isBodyLiteral(literal)) return true;
			}
		} else {
			for (Rule rule : rules.values()) {
				if (ruleType == rule.getRuleType() && rule.isBodyLiteral(literal)) return true;
			}
		}
		return false;
	}