private boolean interfaceIsSelected(RSInterface rsInterface) {
		if (rsInterface.conditionType == null)
			return false;
		for (int c = 0; c < rsInterface.conditionType.length; c++) {
			int opcode = parseInterfaceOpcode(rsInterface, c);
			int value = rsInterface.conditionValue[c];
			if (rsInterface.conditionType[c] == 2) {
				if (opcode >= value)
					return false;
			} else if (rsInterface.conditionType[c] == 3) {
				if (opcode <= value)
					return false;
			} else if (rsInterface.conditionType[c] == 4) {
				if (opcode == value)
					return false;
			} else if (opcode != value)
				return false;
		}

		return true;
	}