What is a "codebase" in Cursor?

If I have a microservice architecture inside my workspace (client, server, ml) – what is my codebase? why is it when I create a cursor rule, it only appears within the client folder, for example?