Fred: added connected rule