Added support for arrow in, dash in and dash out rules.