compileRules(path, rules, refs) {
		return rules
			.filter(Boolean)
			.map((rule, i) =>
				this.compileRule(
					`${path}[${i}]`,
					/** @type {RuleSetRule} */ (rule),
					refs
				)
			);
	}
@param {string} path current path
@param {RuleSetRules} rules the raw rules provided by user
@param {References} refs references
@returns {CompiledRule[]} rules