Cleanup conditions when element doesn't match parent rule anymore