The same way custom actions allowed you to define new actions to reuse installation logic and simplify your project, you now can define new rules.
Custom rules allow using a set of actions and rules to create new ones, which will behave exactly as InstallBuilder built-in rules.