moved code to hide rotations into capricornConfig.php

Also upgraded to accept regex so moar powerful than startswith.