Completed wiring to allow rules to be created