diff --git css_injector.module css_injector.module
index b73f285..248e526 100644
--- css_injector.module
+++ css_injector.module
@@ -229,11 +229,7 @@ function _css_injector_evaluate_rule($css_rule = array()) {
  */
 function _css_injector_rule_path($crid) {
   if (!empty($crid)) {
-    $local_path = drupal_realpath(_css_injector_rule_uri($crid));
-    // Now remove the part before the drupal root.
-    // The +1 gets rid of the leading '/'.
-    $local_path = substr_replace($local_path, '', 0, strlen(DRUPAL_ROOT) + 1);
-    return $local_path;
+    return variable_get('file_public_path', conf_path() . '/files') . '/css_injector/css_injector_' . $crid . '.css';    
   }
   return NULL;
 }
