Add two rewrite conditions to htaccess file

I have a .htaccess file on root.On root folder there are three files.

index.php
article.php
event.php
on index.php there two href to event and news.php files.

to article.php:

$articleId=123;
$articleTitle='First Article';
echo '<a href="'.$articleId.'&'.str_replace(" ","-",$articleTitle).'">Read More</a>';

and to event.php:

$eventId=789;
$eventTitle='First Event';
echo '<a href="'.$eventId.'&'.str_replace(" ","-",$eventTitle).'">Read More</a>';

Above two href’s are on the index.php.

To handle the redirect i have written following code on htaccess file.

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) article.php?arid=$1&$2
RewriteRule (.*) event.php?eveid=$1&$2

These are the types on urls that we need to see on browser.

article:localhost/system/articleid-articletitle and then for event : localhost/system/eventid-eventtitle 

But when i add the second rewrite line,system is not loading and when i remove one rewrite condition system works fine. can anyone help me out?.

Thanks in advance and hope i have clearly mention the question.

How exactly are you supposed to distinguish between an article URL and an event URL? If you had a URL such as /123-sometitle is there any way to know if it’s an article or an event?

The first rewrite will match every non-file request and send it to article.php. The second rewrite will match every request, even if it’s for a real file, even if it’s for article.php itself, and send it to event.php.

We can certainly help, but we’ll first need to know the answer to the question above to distinguish between the two kinds of URLs.