Refactoring to allow rainbow to applied as a regular style