Attempting to fix setup_rules function on rule instantiation
Minor change