Update rules

Added preliminary prototype for cross build support