Adding rules to link the resource with libgcal.