What does the App Store have to do with any of this? I can't imagine any technical restrictions that the App Store enforces that could not be enforced by the OS alone.
For instance, "no background services" and "you can't use up all the physical RAM" are both OS-level restrictions, not app-store-level restrictions.