Added variable name to access rules method