Link modules and rules into lists