diff --git a/samples/sample.krl b/samples/sample.krl
index fe19b46..a5ae765 100644
--- a/samples/sample.krl
+++ b/samples/sample.krl
@@ -26,12 +26,12 @@ ruleset sample_app {
 		pods:authenticate()
 	}
 
-	rule test_store_file {
+	rule store_file {
 		select when sample_app store_file
 		pods:overwrite(event:attrs.get("originURL"), event:attrs.get("destinationURL"), event:attrs.get("doAutoAuth"))
 	}
 
-	rule test_overwrite_file {
+	rule overwrite_file {
 		select when sample_app overwrite_file
 		pods:overwrite(event:attrs.get("originURL"), event:attrs.get("destinationURL"), event:attrs.get("doAutoAuth"))
 	}
@@ -84,13 +84,9 @@ ruleset sample_app {
 		send_directive(pods:getPublicAccess(event:attrs.get("resourceURL")))
 	}
 
-	rule grant_access {
-		select when sample_app grant_access
-		pods:grantPublicAccess(event:attrs.get("resourceURL"))
-	}
-	rule remove_access {
-		select when sample_app remove_access
-		pods:removePublicAccess(event:attrs.get("resourceURL"))
+	rule set_public_access {
+		select when sample_app set_public_access 
+		pods:setPublicAccess(event:attrs.get("resourceURL"), event:attrs.get("read"), event:attrs.get("write"), event:attrs.get("append"))
 	}
 	
 	rule ls {