Added dynamic inputs for all and a rule that produces dynamic outputs