P Systems with boundary rules