$existing = eZCollaborationNotificationRule::fetchItemTypeList( $collaborationIdentifier, array( $userID ) );
if ( count( $existing ) == 0 ) {
    $rule = eZCollaborationNotificationRule::create( $collaborationIdentifier, $userID );
    $rule->store( );
}