nil chain_condition

Added changes so that chain_conditon can be nil type. If chain_condition is nil, the chain isn't added to the table. Added this feature so that a chain with chain_condition nil, is only added manually.