Promoing Shell/Shell rules from one environment to another

I created a shell and corresponding shell rule.
Is it possible to promote this shell and corresponding shell rule from one environment to another seamlessly?
Similarly if I create a group or role hierarchy. Can I promote it from one environment to another (typically from Dev environment to Test environment) assuming all configurations and settings are similar.