private List<Object> generateFactOrRule(Map<String, spindle.core.dom.Rule> factsOrRules) {
		List<Object> factOrRule = new ArrayList<Object>();
		Object obj = null;
		for (spindle.core.dom.Rule rule : factsOrRules.values()) {
			switch (rule.getRuleType()) {
			case FACT:
				spindle.core.dom.Literal headLiteral = rule.getHeadLiterals().get(0);
				obj = generateLiteral(headLiteral);
				break;
			case STRICT:
			case DEFEASIBLE:
			case DEFEATER:
				obj = generateRule(rule);
				break;
			default:
			}
			if (null != obj) factOrRule.add(obj);
		}
		return factOrRule.size() == 0 ? null : factOrRule;
	}