def AaProfile.include
import bend-osdev-apparmor@0.1.0.0/profile.bend as Profileimport Base
213# p with the rules r added: what an include of rules r into p does
214def AaProfile.include(p: AaProfile, r: AaRules) -> AaProfile:
215 match p:
216 case AaProfile{n, a, f, r0, c, h}:
217 AaProfile{n, a, f, AaRules.append(r0, r), c, h}