Add nesting rule