@Override
	public boolean equals(Object o) {
		if (o instanceof Condition) {
			Condition a = (Condition)o;
			
			return a.getLabel().equals(label) && a.getValue() == getValue();
		} else if (o instanceof String) {
			return o.toString().equals(label);
		}
		
		return false;
	}