Add in/out interface specification capability to rule define