Com base no segundo exemplo da sua pergunta:
<rule name="Webasyst Controller" stopProcessing="true">
<match url="(\.(?!eot|ttf|woff|js|css|jpe?g|gif|png)|apple\-touch\-icon\.png)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" appendQueryString="true" />
</rule>