Fixed wrong subst in EZ rules