added main rule