(rule
 (fallback false)
 (targets) 
 (action (with-stdout-to foo.txt (echo "testing"))))