Fixing insertRule method call.