/**
 * Method to merge a collection of Rules.
 *
 * @param   mixed  $input  Rule or array of Rules
 *
 * @return  void
 *
 * @since   1.7.0
 */
public function mergeCollection($input)
{
    // Check if the input is an array.
    if (\is_array($input)) {
        foreach ($input as $actions) {
            $this->merge($actions);
        }
    }
}