Custom URL rewrites work, but break my permalinks

Well I solved it – in a rather unsatisfactory way – by explicitly re-defining the default posts rule in my own code. i.e.

$rewrite_keywords_structure = $wp_rewrite->root."/%year%/%monthnum%/%postname%/";
..etc..

I don’t really understand why this is necessary, but there you go.