Is it possible to trigger a rule from manually / from the command line?

Great question! Not something I had thought of doing, but I can see uses.

Best option or trick I can think of is send an mqtt command from command line and trigger the rule. Or possibly flip a gpio pin if available.