Implemented rules for CUDA compilation