conditions get even simpler.

Conditions now only return a boolean value. Applied the same approach
from node mappings to the edge matching algorithm.