moved router rules into big switch plugin