Even better placeholder mixin

Added gards so the mixin can manage a color or a ruleset