class MatchRule {

	public boolean matches(Transaction transaction) {
		checkNotNull(transaction);
		return pattern().matcher(transaction.getDescription()).find();
	}

	private  MatchRule(String regex);

}